package com.jvyou.thread.d04method;

/**
 * @author 橘柚
 * @version 1.0-SNAPSHOT
 * @Date 2024/7/30 11:41
 * @Description 线程休眠
 */
public class ThreadSleep {
    public static void main(String[] args) throws InterruptedException {
        System.out.println("main线程开始执行");
        Thread.sleep(1000);
        System.out.println("休眠结束");
    }
}
